<template>
  <nav>
    <router-link to="/ref_reactive">ref_reactive</router-link> |
    <router-link to="/computed">computed</router-link> |
    <router-link to="/class_style">class与style绑定</router-link> |
    <router-link to="/v_for">列表循环</router-link> |
    <br />
    <router-link to="/Composables">组合式函数</router-link> |
    <router-link to="/Directives">自定义指令</router-link>
    <router-link to="/Plugins">插件</router-link> |
    <router-link to="/Pinia">Pinia</router-link>
  </nav>
  <router-view />
</template>

<style lang="scss">
  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
  }

  nav {
    padding: 30px;

    a {
      font-weight: bold;
      color: #2c3e50;

      &.router-link-exact-active {
        color: #42b983;
      }
    }
  }
</style>
